home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 398 / 398.xpi / chrome / forecastfox.jar / content / forecastfox.xul < prev   
Extensible Markup Language  |  2010-02-04  |  7KB  |  83 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!--****************************************************************************
  4.   Copyright (c) 2008 Ensolis, LLC. All Rights Reserved.
  5.   ***************************************************************************-->
  6. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  7. <?xml-stylesheet href="chrome://forecastfox/content/bindings.css" type="text/css"?>
  8. <?xml-stylesheet href="chrome://forecastfox/skin/forecastfox.css" type="text/css"?>
  9.  
  10. <!DOCTYPE overlay SYSTEM "chrome://forecastfox/locale/forecastfox.dtd">
  11.  
  12. <overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  13.          xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  14.          id="ff-overlay">
  15.          
  16.   <script type="application/x-javascript" src="chrome://forecastfox/content/forecastfox.js"/>
  17.   <script type="application/x-javascript" src="chrome://forecastfox/content/ping/tracker.js"/>  
  18.   <script type="application/x-javascript">
  19.     window.addEventListener("load", ffLoad, false);
  20.     window.addEventListener("unload", ffUnload, false);
  21.   </script>
  22.  
  23.   <stringbundleset id="stringbundleset">
  24.     <stringbundle id="ff-bundle" src="chrome://forecastfox/locale/forecastfox.properties"/>
  25.   </stringbundleset>
  26.  
  27.   <window id="main-window">
  28.     <popupset id="ff-popupset">
  29.       <tooltip id="ff-tooltip" noautohide="true" type="forecastfox"/>
  30.       <menupopup id="ff-popup" position="after_start" oncommand="gForecastfox.hideContext();">
  31.         <menuitem label="&ff.main.options.label;" accesskey="&ff.main.options.accesskey;" default="true" oncommand="gForecastfox.openDialog('forecastfox:options');" />
  32.         <menuitem label="&ff.main.homepage.label;" accesskey="&ff.main.homepage.accesskey;" oncommand="gForecastfox.openLink(event, false, false, 'context');" onclick="gForecastfox.clickLink(this, event);" url="&ff.about.homepage;"/>
  33.         <menuitem label="&ff.main.about.label;" accesskey="&ff.main.about.accesskey;" oncommand="gForecastfox.openDialog('forecastfox:about');" />
  34.         <menuseparator/>
  35.         <menu id="ff-profs-menu" label="&ff.main.profile.label;" accesskey="&ff.main.profile.accesskey;">
  36.           <menupopup id="ff-profs-popup" onpopupshowing="gForecastfox.addProfiles(event);" oncommand="gForecastfox.selectProfile(event);"/>
  37.         </menu>
  38.         <menu id="ff-icons-menu" label="&ff.main.icons.label;" accesskey="&ff.main.icons.accesskey;">
  39.           <menupopup id="ff-icons-popup"  onpopupshowing="gForecastfox.addIcons(event);" oncommand="gForecastfox.selectIcon(event);">
  40.             <menuitem id="ff-icons-more" label="&ff.options.icons.site;" oncommand="gForecastfox.openLink(event, false, false, 'context');" onclick="gForecastfox.clickLink(this, event);" url="&ff.options.icons.url;" />
  41.             <menuseparator/>
  42.           </menupopup>
  43.         </menu>
  44.         <menuitem label="&ff.main.refresh.label;" accesskey="&ff.main.refresh.accesskey;" oncommand="gForecastfox._manager.run(true);" />
  45.         <menuitem label="&ff.main.import.label;" accesskey="&ff.main.import.accesskey;" oncommand="gForecastfox.importDOM();"/>
  46.         <menuitem label="&ff.main.export.label;" accesskey="&ff.main.export.accesskey;" oncommand="gForecastfox.exportDOM();"/>
  47.         <menuseparator/>
  48.         <menuitem id="ff-popup-site" label="&ff.main.site.label;" accesskey="&ff.main.site.accesskey;" oncommand="gForecastfox.openLink(event, false, true, 'context');" onclick="gForecastfox.clickLink(this, event);" url="&acw.main;"/>
  49.         <menuitem id="ff-popup-forecast" label="&ff.main.forecasts.label;" accesskey="&ff.main.forecasts.accesskey;" oncommand="gForecastfox.openLink(event, true, false, 'context');" onclick="gForecastfox.clickLink(this, event);" url=""/>
  50.         <menuitem id="ff-popup-hbh" label="&ff.main.hbh.label;" accesskey="&ff.main.hbh.accesskey;" oncommand="gForecastfox.openLink(event, true, false, 'context');" onclick="gForecastfox.clickLink(this, event);" url=""/>
  51.         <menuitem id="ff-popup-fiveday" label="&ff.main.fiveday.label;" accesskey="&ff.main.fiveday.accesskey;" oncommand="gForecastfox.openLink(event, true, false, 'context');" onclick="gForecastfox.clickLink(this, event);" url=""/>
  52.         <menuseparator/>
  53.         <menuitem id="ff-popup-feedback" label="&ff.main.feedback.label;" accesskey="&ff.main.feedback.accesskey;" oncommand="gForecastfox.openLink(event, false, true, 'context');" onclick="gForecastfox.clickLink(this, event);" url="&acw.feedback;"/>
  54.         <menuitem id="ff-popup-improve" label="&ff.main.improve.label;" accesskey="&ff.main.improve.accesskey;" oncommand="gForecastfox.openLink(event, false, false, 'context');" onclick="gForecastfox.clickLink(this, event);" url="http://www.getforecastfox.com/community/"/>
  55.  
  56.       </menupopup>
  57.     </popupset>
  58.   </window>
  59.  
  60.   <statusbar id="status-bar">
  61.     <statusbarpanel id="ff-box" class="chromeclass-toolbar-additional">
  62.          <box id="ff-weather" orient="horizontal">
  63.         <ffpanel id="ff-indicator" collapsed="true" context="ff-popup"/>
  64.         <box id="ff-data-box" orient="horizontal">
  65.           <ffpanel id="ff-logo-panel" tooltip="ff-tooltip" collapsed="true" context="ff-popup" tooltipad="false" onclick="gForecastfox.clickLink(this, event);" oncommand="gForecastfox.openLink(event, true, false, 'panel');"/>          
  66.           <ffpanel id="ff-swa-panel" tooltip="ff-tooltip" collapsed="true" context="ff-popup" tooltipad="false" onclick="gForecastfox.clickLink(this, event);" oncommand="gForecastfox.openLink(event, true, false, 'panel');"/>
  67.         </box>
  68.         <box id="ff-current-box" orient="horizontal">
  69.           <ffpanel id="ff-radar-panel" tooltip="ff-tooltip" collapsed="true" context="ff-popup" tooltipad="false" onclick="gForecastfox.clickLink(this, event);" oncommand="gForecastfox.openLink(event, true, false, 'panel');"/>
  70.           <ffpanel id="ff-hbh-panel" tooltip="ff-tooltip" collapsed="true" context="ff-popup" tooltipad="false" onclick="gForecastfox.clickLink(this, event);" oncommand="gForecastfox.openLink(event, true, false, 'panel');"/>
  71.           <ffpanel id="ff-fiveday-panel" tooltip="ff-tooltip" collapsed="true" context="ff-popup" tooltipad="false" onclick="gForecastfox.clickLink(this, event);" oncommand="gForecastfox.openLink(event, true, false, 'panel');"/>
  72.           <ffpanel id="ff-current-panel" tooltip="ff-tooltip" collapsed="true" context="ff-popup" tooltipad="false" onclick="gForecastfox.clickLink(this, event);" oncommand="gForecastfox.openLink(event, true, false, 'panel');"/>
  73.         </box>
  74.         <separator id="ff-spacer" orient="horizontal" class="ff-spacer" collapsed="true" context="ff-popup"/>
  75.         <box id="ff-forecast-box" orient="horizontal">
  76.           <box id="ff-today-panel" orient="horizontal" collapsed="true"  onclick="gForecastfox.clickLink(this, event);" oncommand="gForecastfox.openLink(event, true, false, 'panel');"/>
  77.           <box id="ff-forecast-panel" orient="horizontal" collapsed="true" onclick="gForecastfox.clickLink(this, event);" oncommand="gForecastfox.openLink(event, true, false, 'panel');"/>
  78.         </box>
  79.       </box>
  80.     </statusbarpanel>
  81.   </statusbar>
  82. </overlay>
  83.